function get_Ajax()
{
	var obj_Ajax; // The variable that makes Ajax possible!

	try
	{
		// Opera 8.0+, Firefox, Safari
		obj_Ajax = new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Explorer Browsers
		try
		{
			obj_Ajax = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e)
		{
			try
			{
				obj_Ajax = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e)
			{
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}
	return obj_Ajax;
}

function post_ToURL(src_URL, obj_PostInfo, src_Target)
{
	var obj_Document = document;
	if(src_Target)
	{
		obj_Document = document.getElementById(src_Target).contentWindow.document;
	}
	var obj_Form = obj_Document.createElement("form");
	obj_Form.method = "post";
	obj_Form.action = src_URL;
//	if (src_Target)
//	{
//		obj_Form.target = src_Target;
//	}
	for ( var key in obj_PostInfo)
	{
		var obj_Input = obj_Document.createElement("input");
		obj_Input.setAttribute("name", key);
		obj_Input.setAttribute("value", obj_PostInfo[key]);
		obj_Input.setAttribute("type", "hidden");
		obj_Form.appendChild(obj_Input);
	}
	obj_Document.body.appendChild(obj_Form);
	obj_Form.submit();
	obj_Document.body.removeChild(obj_Form);
}

function create_ParamString(arr_Params)
{
	var str_Param = "";
	var int_I = 0;

	for (str_Key in arr_Params)
	{
		if (int_I > 0)
		{
			str_Param += "&";
		}
		str_Param += str_Key;
		str_Param += "=";
		str_Param += arr_Params[str_Key];
		int_I++;
	}

	return str_Param;
}